<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019/5/30
  Time: 22:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Add an Email</title>
    <script>
        function check() {
            var name = document.getElementById("name");
            if (name.value=="") {
                alert("信息不能为空！");
                return false;
            }
        }
    </script>
</head>
<body>
    <form action="AddEmail" method="post" onsubmit="return check">
        请输入你的邮箱<input type="text" name="add_email" id="add_email">
        <input type="submit" name="submit" id="submit" value="确认">
    </form>
</body>
</html>
